Client will now properly exit.