The v2 of the java client leaks RxJava threads on shutdown

Improvements on that front have been submitted to master.

:arrow_right_hook: prefer using upcoming 2.2.1 release (snapshot can be built from current master) and upgrade to RxJava 1.0.15 as soon as it comes out in order to be able to call rx.Schedulers.shutdown() :slight_smile:

:warning: don’t forget to call toBlocking().single() (or at least subscribe()) after an environment.shutdown()

Note: The improvements have been partially backported to release11 branch for inclusion in the upcoming 2.1.5 release, but improvements for RxJava and Netty threads couldn’t be backported, so it’s mainly clarity of code, integration tests and logs that have been backported.