Puchiko is right, that will do what you are asking, but please note, this will NOT apply to match and tournament games, and the games will only wait about 60 days. If, after 60 days, STILL no moves have been made in it, then the games will automatically be ended.
Would it be likely to add a feature to reject a win on time?