modify send_request method by coroutine