Add timeout limit to github api