Add the reconnect on MySQL has gone away to exec/queryexec.