Fix NPE in relaunch button that occurs when process termination takes a tad longer.