make thread dtor virtual, use appropriate constant for overlapped signal interrupt