update Serial Parser with Francesco change to multithreading