flog a dead horse
Definition from Wiktionary, the free dictionary
Alternative forms 
- (dated, nautical) To attempt to get extra work out of a ship's crew during the dead horse period.
- (UK, idiomatic) To attempt to get more out of something that cannot give more.