removes PubNub.