Openhab Mqtt binding connection after restart

Hi, i have a problem with Openhab on startup of linux.

When i restart mosquitto manually and Openhab is already connected after the restart it doesn’t try to recconect on mqtt until i restart the service of Openhab

Is there any way to fix that with any script or command that will check if it’s connected?

Thanks