Also, change the port in the example to the mainnet RPC port.
Since the example illustrates callbacks for the OnBlockConnected and OnBlockDisconnected callbacks, also register for the notifications with NotifyBlocks. While here, document the fact that most of the callbacks require registration.