Don't loop forever if you fail to recv data