Fix the issue that Sample doesn't call 'unsubscribe'
Merge pull request #1965 from zsxwing/fix-sample-unsubscribe

Fix the issue that Sample doesn't call 'unsubscribe'