Add ESOCKETTIMEDOUT as error code.