fixed a bug that resulted in multiple closed stream messages