reconnect when mysql error 2006
Merger fireyy change