code: def shutdown_rd(self):
          
          if self._sock_send is not None:
              self.sock.close()
          else:
              return self.shutdown(socket.SHUT_RD)
docs: Send a shutdown signal for reading - you may no longer read from this
          socket.