Handling partial failures in mobile ad hoc network applications by