add option to hopefully prevent mysql connection timeouts