#37 Fix MySQL server has gone away issue