Rename task and deactivate VG before detaching