Made pystex to handle ConnectionError from requests gracefully