Add support for killing a gererator