fix .Net serial port unstable problem