Text this: Threshold dynamics of a periodic SIR model with delay in an infected compartment