Properly check for lost connections while waiting for data to arrive on a Libevent2TCPConnection.