Local stability properties of a delayed SIR model with relapse effect