Fix recv_any_of bug for status codes