Attempt to fix IndexerTest in connect mode

(will need to do some more runs to be sure it works consistently)