Whoever makes a threat within the meaning of section 609.27, subdivision 1, clauses (1) to (6), but fails to cause the intended act or forbearance, commits an attempt to coerce and may be punished as provided in section 609.17.