Now closing all sockets on NetCtrl thread stop
Updated Makefile & CritErrRoutine improved