Removed race when transitioning to Connected on the .NET client

Removed race condition where initializeCallback could be called in OnStart,
but the Connection momentarily remain in the Connecting state.