Set needs_reconnect=False before attempting reconnection, and allow it to be set back to True if that attempt fails.
Set needs_reconnect=False before attempting reconnection, and allow it to be set back to True if that attempt fails.

zenoss/ceilometer_zenoss