Isn't the client already closed here by the context?