rm infinite loop