code: def _send_data(self, data):
          
          try:
              self.socket.sendall(data)
              self._reset_errors()
          except:
              self._close()
              self._throttle_error("GraphiteHandler: Socket error, "
                                   "trying reconnect.")
              self._connect()
              try:
                  self.socket.sendall(data)
              except:
                  return
              self._reset_errors()
docs: Try to send all data in buffer.