There is a race between the shell sending getQueuedResponses and the mongod sending killCursors here.