Cleaning up client connection pool and adding more defaults settings to the configuration.