isClosed

Check if the socket is closed