return 502 when part of body has been sent to backend but
the connection closed abnormally