502 Error Bad Gateway on request

No, that’s not what I’m saying.

What I’m saying: Use Celery. It’s the right tool for this job.