sleep 10 ms for slow XMPP servers, and update debug logs