add some sleep timers to hopefully fix the travis failures