Add missing clear() to ensure request is atomic