tws, add option --loop to always restart tws
tws, write tws_restart.log