AMQ-3997

I applied to patch that was created in AMQ-3997 to have the generic xapooledconnectionfactory no longer have the memory leak.