LPS-32603 Liferay chat might send messages in an infinite loop