Add spinlock when deleting stream data on uninstall.