To persist or continue far beyond any purpose, interest or reason.
flog a dead pony
verb
To attempt to get more out of something that cannot give more; to attempt to arouse fresh interest in something that is either hopeless or already settled.
How often have the words beat a dead horse and flog a dead pony occurred in a corpus of books? (source: Google Ngram Viewer )