close down the server correctly after test