Worked more on getting threads correct.  Need to make the open port query work as intended(no time nor id is recorded)