check that a peer is not unreachable in getpeers