an EOF error makes us close the connection