Add GetLastError call when client read fails.