Fixed a class leak variable when creating multiple connections to different EC2 regions