Add: Catch and reconnect lost MySQL connections.