prevent MySQL from locking tables during cleanup operations