parse flows in another thread