AE: Prevent a possible deadlock when two want to close one sink