Use interrupter for keep_alive_thread