Revert "Assign dispatch groups and queues instead of holding strong ref (causes warnings)."

This reverts commit 0b5ef371a94470cedc6d885159d0c30fe2418c37.
Make sharedClient methods return id type.