Fault tolerance of mobile agents