Fixed a bug where the client would timeout when getting an expired key.