feature #2909: Add shutdown action for flows