Added mutex for python noise.