kill all spawned processes before restart