pass the entire Client actor to resources and not just Connection