Added mutex around shutdown lock