replace win32 events by bool variable for request stop of RXthread (Ulli hang bug)