Check for pid, agent info file before removing.