Fixed a bug that allowed the javaw.exe process to stay alive after the
application had been shut down.