         }
 
         /* Start Keep-alive routine */
-        kaTimer.reset();
-        kaTimer.addEventListener(TimerEvent.TIMER, keepAlive);
-        kaTimer.start();
+        if (Player.config.keepAlive) {
+          kaTimer.reset();
+          kaTimer.addEventListener(TimerEvent.TIMER, keepAlive);
+          kaTimer.start();
+        }
+
         break;
 
       case STATE_PLAYING:


      /* Stop timer, don't close the connection when paused. */
      bcTimer.stop();
      kaTimer.stop();

      this.ns.pause();


      this.bcTimer.stop(); // Don't start timeout immediately
      this.bcTimer.reset();
      this.bcTimer.addEventListener(TimerEvent.TIMER_COMPLETE, bcTimerHandler);
      this.setKeepAlive(Player.config.keepAlive);

      this.startOptions = options;
