Mqtt over lte vpn. Disconnect timeout period

Hi

Is there any way to configure a espeasy mqtt device to enable a disconnect timeout period to the mqtt server.

I am running a couple of devices over a vpn on a 4g lte device. Most times it works well but when the lte signal is low sometimes I get the disconnects.

I’m running a esp8266 in my campervan to monitor a couple of devices and to switch a few relays.

I do have a pi3b+ with hassio on in the campervan too, but due to my leisure batteries sometimes draining a little too much the pi always ends up with a corrupt sd card. Trouble is only have these issues in the winter with uk weather. There sometimes isn’t enough sunshine for the solar panels to keep up with charge levels.