Fix segfault by making TwoPartyClient's members immortal