Protected process_context with mutex to forbid stack overflow on render from within plugin.