added a simple socket server for testing, added a s.close() to the serial2socket