Added server termination