Add timeout to github.py