change to client.do_task to get better exception handling