improves player shutdown in case of media error