Avoid over-allocation in subscription run loop
Simplify conn ownership in client
Unify logging
Extract file rotation