Fixes gh-630. Close open inventories before reset.

This fixes issues with item smuggling via crafting inventories. The
player's inventory is closed before they are kicked from the zone or a
respawn.