fixed bug where client stopped working when server needed restart (cached rpc stub was not refreshing when port changed)