Updated the way connection pools are initialised