Retry dependency installation