Add reconnection to solve MySQL 2006 problem. Tested with timeouts of 65s
	closes #196