remove exit listener