The pipelineScanner needs to be replaced on connection loss.

There are probably more things that should change in this service, and the connector API.