Add a test showing failure to close peer (dart-lang/json_rpc_2#56) Example for dart-lang/json_rpc_2#55