session can Wait() to exit