Added loop on check for totalTime because it won't show up until the
stream resolves (which sometimes takes longer than 1 second)