code: @Override
    public void closeImpl() throws IOException
    {
      unlock();
  
      _fileChannel = null;
  
      RandomAccessFile file = _file;
      _file = null;
  
      if (file != null)
        file.close();
    }
docs: Closes the stream.