Adding re-connecting rpc client