ClientProxy and connection have a circular reference, causing Python not to be able to garbage collect.