It's done in https://github.com/wiki-ai/ores/pull/219
Duplicate of T170205: Add test to ensure timeout of functions taking too long