Fix backtraces on stream removal