 									{	
 										errorSurrenderTimer.reset();
 										firstSeekForwardCount = -1;
-										recoveryStartTime = -1;
-										needToRecover = false;
 										recoveryStateNum = URLErrorRecoveryStates.IDLE;
 									}
 									

					// Switch to a backup stream if available
					if (currentStream)
					{
						indexHandler.switchToBackup(currentStream);
						hasGottenManifest = false;
					}
					else
						hasGottenManifest = true;

							}
							
							// start the recovery process if we need to recover and our buffer is getting too low
							if (recoveryBufferTimer && recoveryBufferTimer.currentCount >= 1 && bufferLength <= recoveryBufferMin)
							{
								if (hasGottenManifest)
								{
									seekToRecoverStream();
									recoveryBufferTimer.reset();
								}
								break;
							}
