Fix MySQL server timeout