Optimal loading of system with random repair time