A hat-trick in sports is associate with succeeding at anything three times in three consecutive attempts. In North America it is often rendered as hat trick, with no hyphen. (The Oxford English Dictionary lists it unhyphenated and gives a variety of examples published in the 19th and 20th centuries both with and without the hyphen.)