bugfix: crash on close stream