Object pool Implementation for any persistent connections