client: Add Close method

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>