How will this code work when there are no running builds?