When is it safe to resume DMARDs in a patient who was diagnosed with active TB and started on treatment?