Keeping it clean for control-c