Prevent a block in the time sleep when resetting the simu