to work on a menial task at a pace where you will (or won't) finish, until your shift ends, for instance.
Normally it wouldn't take anyone 2 hours to clean the bathroom, but George milked it out so someone else would have to clean the broiler during closing.