Close stream on error

This will hopefully avoid duplicate streams/answers from the bot