SoftEtherVPN/SoftEtherVPN — pull request #33 by thepoch (2014-03-03 07:58:37+00:00)
Title: Workaround for when vpnserver hangs on stop.

Use timeout command to wait 30 seconds when stopping vpnserver. If it doesn't stop within 30 seconds killall is issues instead.

Assuming this is safe based on Windows documentation section: *7.2.6 Starting and Stopping Service*

"If, in the unlikely event, the VPN Server process hangs and cannot be controlled using the net command, you can use Task Manager in Windows to forcibly terminate the vpnserver.exe process."