docs: def pick_free_port():
          """ Picks a free port """
          test_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
          test_socket.bind(('127.0.0.1', 0))
          free_port = int(test_socket.getsockname()[1])
          test_socket.close()
          return free_port