kernel ignores locks while shutting down