python. Replaced NetworkError with ServiceUnavailableError, fixed #160.