he had spent months infiltrating the anarchist group , only to have his cover blown by a wire that had rendered his time and effort wasted and had left him no closer to identifying the anarchists ' ultimate target .