fix a crash at application shutdown where in some situations we could deinitialize the protected allocator mutex while a lane was still using it.