Making the WebStart logger to terminate on hang-up

(cherry picked from commit 0830cfdecc549a117621e3269595d3a6c9943d3b)