Reset after stream has ended

The player is now correctly reset after a stream with fixed length has
ended.