Merge pull request #195 from eregon/mvm

Ensure to release the VM list mutex before destroying the environment
Prevent the preemption timer to run when termination is requested.

* The call to cancel() might not work if it was about to expire.