Implemented client.Close()

Because sometimes, clients don't stay connected forever.