waiting for POST request to XMPP route to finish before returning
Merge pull request #555 from shatterednirvana/xmpp-stability-fix

waiting for POST request to XMPP route to finish before returning