A queueing system and worker loop for SQL and sequelize