public Task<HandlerResult> Start() { connectionTask = connection.Run(cancelSource.Token) .ContinueWith(task => { if (this.channel!=null) { this.channel.RemoveOutputStream(this); } return HandlerResult.Close; }); return connectionTask; }