Why is this needed?  recv_some() will sleep at least 0.2 s in non-error cases.