[API] Database timeout error when deleting topics in bulk

My dev instance is remote (1GB DigitalOcean droplet).

I lack knowledge here, but my current feeling is that API calls respond before actually completing the task. Would this explain the current issue? (db overload) And this other one? (topic model not ready just after creation)