Simplified it using redisqueue