Fixed output when exiting client.