making sure vm is destroyed before running up