Fixed wait condition for case where message is being sent before a connection was made.
Fixed wait condition for case where message is being sent before a connection was made.

google/orbit,pierricgimmig/orbitprofiler,google/orbit,google/orbit,pierricgimmig/orbitprofiler,google/orbit,pierricgimmig/orbitprofiler,pierricgimmig/orbitprofiler