added parameter to disable Arduino reset after first stty command