check for mysql server hang