fixed mysql driver hang