process unexpectedEOF on response as empty response