waiting 5 seconds between stream restarts