How to make HASS automatically reconnect to a camera?

Most of the time HASS works fine connected to my Synology camera. When it loses it’s connection though, I have to restart HASS to get the camera back. Is there a way to make HASS auto-reconnect to the camera?

  - platform: synology
    username: USERNAME
    password: PASSWORD
    verify_ssl: false

This error in the log might be related:
2017-10-18 18:32:38 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal read error on socket transport
Traceback (most recent call last):
File “/usr/lib/python3.4/asyncio/”, line 582, in _read_ready
data = self._sock.recv(self.max_size)
TimeoutError: [Errno 110] Connection timed out

did you ever found a solution?

I get time outs sometimes restarting HASS and then the cameras never show up until I restart again…

The latest version of Hassbian doesn’t seem to have this problem anymore, for me at least.