Hi @DALDE_John
When you run Async Code it runs asynchronously blocks inside and when the main thread (process) ends it kills the worker without waiting for the Async Code invocations,
therefore there is no guarantee it complete all async code when the main thread is done.
Regards,
Vlad