Non-convergence to unstable equilibriums for continuous-time and discrete-time stochastic processes