Thursday puzzle / game

Thursday puzzle / game

White to play and win

White is threatening mate but he has to deal with potential perpetuals.

Solution