ConnectionRefusedError? Looks like python 3.3 exception.
Replace it with basic Exception. Should be replaced with socket.error in
the future.