Impulsive model of endocrine regulation with a local continuous feedback