LPS-31730 Fix NPE when creating a new thread