check if swap exits or connection closes in `wsServer.handleSigner`
`handleSigner` is used for external signing ie. metamask, however it currently doesn't check if the swap exits or the ws connection closes. if these cases happen, the function should return.