updated so connection process completes.  Initial write is now attempted.