get rid of thread.sleep for request to github api