Remove unnecessary complexity in processing exit from RECVFROM calls.

Not technically part of #699, but I was mislead to believe it was at first glance, so fixing anyway.