Make LaunchedURLClassLoader lock provider static

Fixes gh-1380