Check for timeout on ping response read

Fix another possible DoS vector where the server spits one byte at a
time.