Fixed pep8 issues and added /n to TimeoutExcetion output