Merge many fixes

Contains the PR #1893 and a possible fix for the premature RxRingBuffer unsubscription and NPE.
This is dangerous as it is now holding a reference to something that could be returned to the pool and used by someone else.