3bc25a520b4026172a00532bfa0ac2b36bb9ece6
Rescue if the socket has already been closed. This may only need to happen when using login