fix: Fix sink deadlock regression (#28296)