Handle stale sockets to the master session

Sometimes when the session is ended, the file-socket is not removed.
This prevents the user to do a detach. (Actually the session has
already detached but the TunnelSetup was not aware of it)