Add single-thread accept_request method