but prog1 does not terminate. It waits until the stream receives the next value. So to terminate this fiber, I have to perform any modification in the current directory. And then, I finally see:
prog1 done and watch killed
prog1 done and watch killed
What should I do to stop the fiber immediately when prog2 ends? Maybe without a stream?