Update ruby version, use 10 threads
Added retry logic