- Implemented reachability handling logic.