reset method
void
reset()
Implementation
void reset() {
if (timer != null) {
timer!.cancel();
timer = null;
} //TODO changements Socket close but here there is no code
// if (channel != null) {
// channel.sink.close();
// channel = null;
// }
}