autokill support for spawn