If a partner cancels the session, then write a message and stop making requests to the server