Implement interval stats, but pop is blocking