expiry thread now working, which means the expire after n seconds feature is working as well