code: @Override
      public boolean hasMoreTags() {
          try {
              lock.lockInterruptibly();
              return getRemainingBytes() > 4;
          } catch (InterruptedException e) {
              log.warn("Exception acquiring lock", e);
              return false;
          } finally {
              if (lock.isLocked()) {
                  lock.unlock();
              }
          }
      }
docs: {@inheritDoc}