Fix main thread removed from logger instead of async worker threads