cache mysql connections