fixed test failure when closing server