lock event.Pipe on emit.