You should continue cotrimoxazole prophylaxis as long as the HIV-infected child is alive. You can discontinue cotrimoxazole in the following conditions: