cancel method

void cancel()

Implementation

void cancel() => client.close();