Openfire kicks me when I send <composing/> or <paused/>

I am using openfire as chat server in my service. I need to notify user when interlocutor starts or stops typing message in chat.

I add custom message type notification_chat and send message with or extras without body:

When user starts typing:

When user stops typing:

But after send whis packet openfire close connection! In spite of this message delivered to recipient and I can process it by type and extras.

Why openfire kicks me is this case?