                 }
                 else {
                     state = .Paused
+                    player?.rate = 0
                 }
                 endBackgroundTask()
             }

                        }
                        else {
                            state = .Paused
                        }

                        retryCount = 0

        if let currentItemIndexInQueue = currentItemIndexInQueue where hasNext() {
            //The background task will end when the player will have enough data to play
            beginBackgroundTask()

            let newIndex = currentItemIndexInQueue + 1
            if newIndex < enqueuedItems?.count {
