[Code] Adding echo check to serial thread.