SuperHouse MQTT Arduino Mega issues

Hi everyone, i setup SuperHouse MQTT Light Switch Controller on my Arduino mega and Ethernet shield.

Its working fine with the button and mqtt publish button press. (Topic: “buttons”)

The issue are after maximum of 2 minutes its not publish any more message to my MQTT broker or in the Arduino IDE console window.

I can ping the Ethernet shield fine, and after pull the power and plug it back in, its working fine for maximum of 2 minutes.

If you guys need my Arduino ino code, please let me know.

I hope someone can help me debug this issue out.

/DKAutomater

void loop(){ client.loop(); delay(1000); client.publish("topic/on/broker", "I'm still here!"); }

In the code will keep the board for not disconnecting to the mqtt broker.