Put a 200ms timeout on subscription socket as to not busy-spin too much. Fixed error in example where ctx was being closed before pub and sub.
Added *polling-error-handler* to allow client code to re-bind and change error-handling functionality.
Minor update to example.