1. Connect
2. Subscribe
3. Publish
(4. Disconnect)