cylc gui: better handle for connection lost