as noted elsewhere.
it does work. until it doesn’t. because your glass of water got cold.
the thermostat cuts the power. you can replace it with a switch, or a wire nut.
or you could go the kinder gentler route and install one with a different temperature range as @rkcolorado suggests.
probably something here you could use: Whoops, we couldn't find that.