code that reproduces github api concurrency problem