Seems like the same issue as here:
http://community.igniterealtime.org/thread/49868
I've hadn't this issue any more for a long time, so probably the suggested fix works.
Set in Openfire:
xmpp.httpbind.worker.threads=16
xmpp.client.processing.threads=16