Add safe emitting to avoid circular references

Useful to chain emitters together in a "network" of emitters where each of
them acts as a node that receives from emitters and emits to other emitters.