A panic button in C