removed close and loadProperties from Thread restart