re-subscribe logic

1. Re-subscribe logic in registry handler that loops subscription logic for 3 times
2. Addresses gson serialization issue by providing a simple typeadapter for handling fields of type 'class' as seen in 'Modify' -type change notification.
You can instead just use `Observable.retry()` and `doOnError()` to reset state on error.