I believe you can use `after(apiServer.close);`