Spotted an error in background thread batch mode