quit client properly