BugFix to Reconnect on Debian

Solves the problems on reconnect using pyserial on Debian (I don't know if also in another distros).

Source:
http://forum.arduino.cc/index.php?topic=91291.0

Sorry, I hope now it's ok.