def command_connect_repl(self): port_num = read_int(self.conn) _start_new_thread(self.connect_to_repl_backend, (port_num,))