ROHD-2426: Apply timeout on writing to pipe when stopping an observation that is already stopped (and thus won't read from the pipe)
Closes ROHD-2426