Remove unnecessary complexity in processing exit from RECVFROM calls.