Actually, it isn't right, it's backwards, so, it should be the same as the TCP one: `@socket && !@socket.closed?`