LPS-46410 Centralize ShardPollerProcessorWrapper wrapping logic