use compositeUnsubscribe in sampledBy
Merge pull request #228 from raimohanska/sampledBy-composite

Use compositeUnsubscribe in sampledBy