B-51785 CPoolService: added shutdown support, rewiring services pom, added unit testing