Ensure DB pooling code works with newer eventlet versions

Bug 1097992

Change-Id: Id14697a0a4815d0aacbae769bf538a96d6846567
Merge "Ensure DB pooling code works with newer eventlet versions" into milestone-proposed