Connection pool changed from thread to regular object