Use thread instead of process for plugin processing