multi-threading workaround hack - not for deployment.