set time out for clean
detect permission lost