inout Importer: fix threading issue

bulksInProgress just indicates if there are pending
processes but never checked if the Importer has processed
all lines of the files that are being imported.