set the counter to expire along with the stream