Made mysql connections persistent