new daemon support in thread