Exit controlled, with removing temporary files when the user hit interupt key