support for flow restart