add sleeps to avoid docker from rejecting our connections