I would stop the object movement using phent_clearvelocity(my) when its velocity will be less than x, and then probably autodisable it or phent_enable(0).

As for the ph_autodisable() error i think its a 6.31.4 new feature..