restore lock-skipping for processes that return to single-threaded state