Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
make SDK to call global_init and global_cleanup