close method
void
close()
Closes this client and frees allocated resources.
Failure to close this a client might cause the dart process to hang.
After this method has been called this instance must not be used any more.
Implementation
void close() {
_closed = true;
}