Added reconnect option to mysql2 in order to survive when the server goes away and comes back later.
Merge pull request #2 from default50/master

Added reconnect option