Corrected mysql timeout