- fixed the "write exception" error. I was resetting got_select at the