Fix condition where connection where messages are queued before connection is complete.
The "join" requires a newline on the end!