fixed ping error that popped up with new message parsing, threads now should die with the program