Move ractor stopping to ssh layer (ssh replay).