abort recording if user exits