Add server close test.