Fix terminate realtime visualization to cleanup workflow