Fixed windows serial connectivity bug