add unsubscribe and reconnection