Add kill for spawned processes

milestone5