NPE when Future.cancel happens before channel is attached, close #762