If the server is not there gw will continue after a TCP timeout.
To eliminate your issue you can delete the list of "known" Urls from
the options table. This will also disable the ability to use -rewalk.
gw -st "delete from options where Name='URL'"
Also make sure you don't have any Urls left over in todo from aborted
previous walks.