fix mysqltest
more mysql: stop worker in case mysql ptr goes null, add stopping/starting state