added closeWorker() (close #112)