Ubuntu 18.04 server proplem installation

Hello.
When I try to install the Dgraph on Ubuntu 18.04 server, errors are appearing
sudo curl https://get.dgraph.io -sSf | bash

Do you agree to the terms of the Dgraph Community License? [Y/n] y
Latest release version is v1.2.1.
Downloading checksum file for v1.2.1 build.
######################################################################## 100.0%-=O#- # # # ######################################################################## 100.0%
Download complete.
Comparing checksums for dgraph binaries
Downloading https://github.com/dgraph-io/dgraph/releases/download/v1.2.1/dgraph-linux-amd64.tar.gz
######################################################################## 100.0%-=O=# # # # # 1.7%
curl: (56) OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 104
There was some problem while installing Dgraph. Please share the output of this script with us on https://dgraph.slack.com or https://discuss.dgraph.io so that we can resolve the issue for you.

This seems to be an error related to Curl. After a search. I find out that this may happen if something cuts the connection. Also, feels like there is a fix for it since January.

see https://github.com/curl/curl/issues/4409#issuecomment-555715213