[tests/system] Allow nesting of @timeout_loop decorated functions.