help detect unavailable output target as quickly as possible
bugfix: memory leak on worker thread termination