Backport of "webrtcbin: Fix potential deadlock when closing before any data was sent" into 1.22
Backport of !4529 (merged) "webrtcbin: Fix potential deadlock when closing before any data was sent".
Commits:
- 4db12345 webrtcbin: Fix potential deadlock when closing before any data was sent