added unsubscribe to the connector