Added booleans to control workflow processes that do not exit yet.