socket: Return -ECONNRESET from socket_receive_timeout() instead of -EAGAIN if peer closed the socket

Returning -EAGAIN would indicate the caller can try again, but if the peer
closed the socket that wouldn't make any sense. Thanks to sctol for reporting.
1 file changed