maybe this is related to this issue https://github.com/mysensors/Arduino/issues/389
try the mqtt client from development branch.
DerPest
@DerPest
0
				Reputation
			1
				Posts
			371
				Profile views
			0
				Followers
			0
				Following
			Best posts made by DerPest
This user hasn't posted anything yet.
				
				Latest posts made by DerPest
- 
    RE: MQTT gateway works great but drops the connection every 2 mins?posted in OpenHAB