Delete VM instance when instance is stopped

This pull reqeust is on top of the vmw one.