remove expired folders as a background operation