I'm working on a project that uses Rx Java subscriptions and observables frequently and I am very new to the concept. I was wondering what the best practice is for disposing of them. Currently I am just nulling out the subscriptions/observables in the doOnUnsubscribe() function as well as using takeUntil() with a PublishSubject to trigger a disconnect for the observables. Is this the proper way to clean up these references or is there a better way? Thanks!