check for existence of active_thread