Added support for message expiration to the benchmark