End cap/loop flushing