archive_aged_records: add before callback
Merge pull request #4 from firmafon/wait-condition

archive_aged_records takes before callback