A possible control strategy against the spread of an infectious disease is the treatmentwith antimicrobials that are given prophylactically to those that had contact with an infective person.The treatment continues until recovery or until it becomes obvious that there was no infectionin the first place. The model considers susceptible, treated uninfected exposed, treated infected,(untreated) infectious, and recovered individuals. The overly optimistic assumptions are made thattreated uninfected individuals are not susceptible and treated infected individuals are not infectious.Since treatment lengths are considered that have an arbitrary distribution, the model systemconsists of ordinary differential and integral equations. We study the impact of the treatment lengthdistribution on the large-time behavior of the model solutions, namely whether the solutions convergeto an equilibrium or whether they are driven into undamped oscillations.