CORE-4272: place the current indexing task at the end of the queue if an error occurs when we're attempting to retrieve a file or subdirectory listing