change expired logic from 30 minutes ago to 5 minutes ago