[Engine-XMPP] workaround race condition
Merge pull request #64 from oli-obk/race_condition_on_join