proxy_client: add error handling to controlling_process