added parallel flush behavior