unmanage vm before deleting them from db