do not manually stop logging observer which seems to block in some cases, garbage collector should take care of it