fixed destroy vm method (added power off before destroying)