Library
Cleaning
With thread