Reconnect of select_db fails due to an OperationalError
Merge pull request #17 from bclary/master

Reconnect of select_db fails due to an OperationalError. Thanks for the PR bc!