Allow cleaning 'out' directory every X times

so building process won't be interrupted due to lack of disk space..