Closes the client connection If flush is true, the data will also be deleted
flush
Future<void> disconnect({bool flush = false});