vorking version with correct non-sombie shutdown and removed all pointers to stoppers outside of threads, I've found how to unblock recv() and accept() with shutdown() of a socket