write to topic implemented; unsubscribe from topic working; re-subscribe not working