Fixed DTR reset bug in Windows