Added stream abort functionality