Fixed crash when killing Minecraft if it's already closed.

Fixes MMCFOUR-5: https://jira.forkk.net/browse/MMCFOUR-5