added character saving on server stop