Finishes accept_client method