mysql module bug fix on exit listener > now listens to shutdown