session: poll main thread if pending connects