test-send-recv: Fix occasional timeouts
While waiting for write thread to finish sending, keep also receiving so that any STUN messages from the peer still get processed.
While waiting for write thread to finish sending, keep also receiving so that any STUN messages from the peer still get processed.