fixed busy loop on worker by keeping rpc client open