Connection now has waitForEvent() to block until something happens with
it. ConnectionPool can block over many connections, and Server no longer
spin loops.