remove unneeded locking of mysql2