mem-cache: Refactor the cache recvTimingReq function