updated PubnubExample.cs file for Unity (disconnect/retry