Add synchronization between CommandLoop and cbVMDeath callback Reviewed-by: dholmes, dcubed
Reviewed-by: darcy, ihse