code: def reinit(self):
          
          sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
          sock.connect((self.server, self.port))
          self._hello(sock)
  
          comms.send_message(sock, ("<Init>" + self._get_token() + "</Init>").encode())
          reply = comms.recv_message(sock)
          sock.close()
          ok, = struct.unpack('!I', reply)
          return ok != 0
docs: Use carefully to reset the episode count to 0.