Allow runloop to be called first.

Previously, runloop would basically die if it was called before a
connect or listen call.