This is not a error but more of a connection problem.
Try using the same command after some time it will execute.
Many a time what happens is either your internet speed is not sufficient to complete the process and many a times the AZ are not reachable.
The command is correct and there are no such things to be worried for.