Network Decontamination with Temporal Immunity