implemented shared connectionpool