Use a queue instead of finding 'Pending' submits from the database.