disconnect after the api test