On the stability of stochastic Lurie type systems