Made the executor use daemon threads (for clean shutdown).