Fix stress client networking code (#616)

Review 471 by @jdoliner