When connect() succeeds immediately, don't invoke the callback immediately. We need this to get unit tests to pass on freebsd.