When a RouterStub is used in TCPGOSSIP (as opposed to TUNNEL), then the GossipRouter might send unsolicited SUSPECT messages. However, the RouterStub doesn't handle them, as it doesn't have a receiver thread. So when it sends a GET-MEMBERS, and then tries to read the response from the input stream, it might encounter a SUSPECT message first. However, since it doesn't know how to interpret SUSPECT (it tries reading a response), it fails.
SOLUTION: check the input stream before sending a GET-MEMBERS request: if not empty, skip all input available