only dettachInterrupt if it was attached