def shutdown(self):
self._pebble.unregister_endpoint(self._handle)<EOL>
Unregisters the :class:`AppMessageService` from the :class:`PebbleConnection` that was passed into the
constructor.
After calling this method, no more events will be fired.