Finish import scan when unexpected chunk is found