End stream if options.entry is specified.