Added server stop functionality