Autofs: remount nfs and smb share after lost connection


after trying direct mounts in fstab and xsystemd, I find that autofs is the most suitable for my needs.

However when a server hosting a share (nfs or smb) mounted on my ubuntu mate with autofs goes down, the connection is not restored until I restart the pc.

Is there a possible solution to this problem?