webrtcbin: Fix potential deadlock when closing before any data was sent