finally clause might not always run.
finally clause won't run in a deamon thread if program exit before run finally clause.