Fix a race condition on the shutdown procedure of the interpreter.
Fix a race condition on the shutdown procedure of the interpreter.

jolie-projects/jolie-async,agwe/jolie,mawolf/jolie,mawolf/jolie,jolie-projects/jolie-async,agwe/jolie,jolie-projects/jolie-async,innopolis-jolie-smt-typechecker/jolie,mawolf/jolie,agwe/jolie,innopolis-jolie-smt-typechecker/jolie,jolie-projects/jolie-async,innopolis-jolie-smt-typechecker/jolie,mawolf/jolie,innopolis-jolie-smt-typechecker/jolie,agwe/jolie