Fix native stream filters for shutdown case.