Forgot aquire lock on thread creation