make RamlRestTemplate thead safe