Prevent repeatedly executing of scan/clean