Make sure MySQL automatically reconnects