wiremock script + passing params to threads properly