Workers / MiniRacer::ScriptTerminatedError timeouts in /logs

Seeing this same error on our instance when posting/editing/approving a topic with very specific Markdown content. It will load for a while and then throw internal server error.