Add stop method that deregisters the plugin listener.