I should close the client properly