smack acks not sent in time
If smack request is not answered promptly, this can lead to connection termination. @lovetox has proposed a workaround for gajim#8758 (closed). After applying it, the original issue turns from a presumably pure Gajim's issue into an interoperation issue between Gajim and ejabberd.