kill open processes on failure