private long consumeCurrentToken() 
	throws IOException {

	if( this.currentToken == null )
	    return -1L;


	byte[] buff = new byte[256];
	int len;
	long totalLength = 0;
	if( !this.currentToken.isClosed() ) {

	    while( (len = this.currentToken.read(buff)) > 0 )
		totalLength += len;

	}


	this.currentToken.close();
	this.currentToken = null;

	return totalLength;
    }