Send the Stream terminated message on shutdown or unpatch.