Added checking for dead SQL Servers

This should prevent players points being wiped if the SQL server has an error or goes away.
Merge pull request #8 from MikeyM1/master

Add checking for MySQL servers that have gone away / have errors