add use of flush option in doctrine:clear_* task