Javascript How To Properly Interrupt A Readable Stream Before End

Javascript How To Properly Interrupt A Readable Stream Before End