pep8 stuff and raise SSL, timeout error