On the stability of the trajectory of markov processes