Fixed polling with Rx. Added some extension classes for easier reuse.