On stability of a harmonic oscillator with a delayed feedback system