Let receiver exit after test done (for UDP)
Let receiver exit after test done (for UDP)

1. exit receiver if configured;
2. set UDP socket timeout to 5 seconds.

Microsoft/ntttcp-for-linux,Microsoft/ntttcp-for-linux