Prevent recursive loop when reconnecting
Merge pull request #883 from cdjackson/mysql

Prevent recursive loop when reconnecting