What does ‘Old chestnut’ mean?

Old chestnut – if you tell the same joke or story too many times your bored friends may say “oh no not that old chestnut again “ in a sarcastic voice.