MODE-2298 Updated sequencers and text extractor to better handle the case when a repository has been shut down and there's still work being processed