Mysql hanging conn fix