remove exit call