Cleaning and pause functionality