code: public static synchronized Process clearProcess(String applicationName, String scopedInstancePath) {
  		return PROCESS_MAP.remove(toAgentId(applicationName, scopedInstancePath));
  	}
docs: Removes a stored process, if found.