code: public synchronized void reset() {
  		timeoutAt = 0;
  		prevSeq = -1;
  		pool.clear();
  		stream.closed.set(false);
  		stream.buffer.clear();
  		stream.cause = null;
  		stream.transferedBytes.set(0);
  		inited.set(false);
  	}
docs: Used for testing. Resets internal variables.