def METHOD_NAME(self, url, port=None):
    if port is None:
        port = BERT_RETRIEVER_PORT_NUM
    threading.Thread(target=lambda: self.app.METHOD_NAME(host=url, threaded=True, port=port)).start()