plugins: echotest and streaming: use atomic operations for stopping and initialized flags

... where most critical

use _try variant of g_thread_new for watchdog, since we're checking for failure

Stop watchdog thread before freeing sessions table
fix minor mixup of sws and admin_sws