Use threads to query github