Improved concurrency handling in the Apache module and MySQL plugin.