Increase mysql timeout.