Fix clients timeout handling.
Fix clients timeout handling.

During the refactoring of blocking operations, commit
82b672f6335ac2db32a724ba5dc10398c949a4a8, a bug was introduced where
a milliseconds time is compared to a seconds time, so all the clients
always appear to timeout if timeout is set to non-zero value.

Thanks to Jonathan Leibiusky for finding the bug and helping verifying
the cause and fix.

ttuna/msot-redis,tellapart/redis,soveran/redis,pcarrier/redis,programmecat/redis,AplayER/redis,duanx/redis,yossigo/redis,pmem/redis,SyntaxStacks/redis,holstvoogd/redis,weizijun/redis,zhcy/redis,j0hnma/hszredis,Hailei/redis,ouyangkongtong/redis,harrisonfeng/redis,j0hnma/hszredis,simplestbest/redis,wuyu201321060203/redis-3.0-annotated,ketor/redis,iandyh/redis,citusdata/redis,moonbingbing/redis-3.0-annotated,josiahcarlson/redis,riyan8250/redis,brg-liuwei/redis,aim-for-better/redis,idning/redis,ytjiang/redis,j0hnma/szredis,ton31337/redis,AplayER/redis,rrsean/redis-3.0-annotated,charsyam/redis,izhoujie/redis,LongXQ/redis,ipmobiletech/redis,ton31337/redis,wprice/redis,CodeJuan/redis,hawkchch/redis,ctripcorp/redis,AplayER/redis,neomantra/redis,drinkthere/redis-3.0-annotated,mingyaaaa/redis,ituncle/redis,yybirdcf/learn-redis,arijitvt/redis,timothyohare/3rdPartySrc-redis,splitice/redis,sunheehnus/redis,saisai/redis,atreeyang/redis,rogerlz/redis,linfangrong/redis,magastzheng/redis-3.0-annotated,OmarQunsul/graph-redis,antirez/redis,tellapart/redis,jbochi/parallel_redis,GrimDerp/redis,4396/redis,Aaron1992/redis,xuzhezhaozhao/redis_reading,rogerchina/redis,holstvoogd/redis,hedisdb/hedis,gilala/hredis,StevenTsai/redis,tanghaodong25/redis,mgk/redis,gilala/bjredis,zy416548283/redis-3.0-annotated,yuzhangjob/redis-3.0-annotated-unstable,healerkx/redis,nnog/redis,wuyu201321060203/redis-3.0-annotated,huangz1990/redis-3.0-annotated,valdsJohn/redis,colstrom/redis,josiahcarlson/redis,holstvoogd/redis,nilyang/redis-tdd-annotation,mengyou0304/redis,timothyohare/3rdPartySrc-redis,unasm/redis-3.0-annotated,idning/redis,dreamquster/redis,zhaobo1023/redis-3.0-annotated,fengshao0907/redis,soveran/redis,holstvoogd/redis,190235047/redis,cnbin/redis,hornen/redis,gongice/redis-3.0-annotated,roth1002/redis,timothyohare/3rdPartySrc-redis,louisliangjun/redis,jackyan/redis,idning/redis,HunanTV/redis,wangyikai/redis,pkdevbox/redis,guker/redis,mengzhejin/RedisStudy,rouzier/redis,190235047/redis,ctripcorp/redis,narma/redis,MOON-CLJ/redis,Sciumo/redis,GitHubMota/redis,PKRoma/redis,whille/redis-3.0-annotated,mumingv/redis-3.0-annotated,tanghaodong25/redis,devaos/redis,fengshao0907/redis,unasm/redis-3.0-annotated,z-fork/redis,citusdata/redis,mumingv/redis,j0hnma/szredis,wangyikai/redis,spinlock/redis,zczhuohuo/redis,HeartSaVioR/redis,twskipper/redis,itamarhaber/redis,h0x91b/redis,valdsJohn/redis,zhoudayang/redis,Wangyao14cyy/redis,spinlock/redis,xujunhai1991/redis,shining-yang/redis,cusspvz/redis,HeartSaVioR/redis,clamoriniere1A/redis,PradheepShrinivasan/redis,yybirdcf/learn-redis,a-pavlov/redis,jackyan/redis,mattsta/redis,mumingv/redis-3.0-annotated,Hailei/redis,SummonY/redis,tjschuck/redis,linfangrong/redis,davidradunz/redis,HeartSaVioR/redis,kmiku7/redis,ksarch-saas/redis,iandyh/redis,roth1002/redis,vincent-vivian-liu/redis,sunlianqiang/redis-3.0-annotated,seandsky/redis,neomantra/redis,xujunhai1991/redis,oranagra/redis,ouyangkongtong/redis,wprice/redis,MasahikoSawada/redis,gilala/hbjredis,dayuoba/redis,mumingv/redis-3.0-annotated,sunheehnus/redis,ketor/redis,z-fork/redis,seppo0010/redis,shshlzh/redis-3.0-annotated,RepmujNetsik/redis,elkingtonmcb/redis,cloudrain21/redis,wbailey5/redis,jasonkying/redis,xuguruogu/redis,ton31337/redis,YongMan/redis,SummonY/redis,riyan8250/redis,4396/redis,rogerchina/redis,YuanZhewei/redis,pedigree/redis,ofirluzon/redis,jasonkying/redis,programmecat/redis,dreamquster/redis,xlzhan/redis,xlzhan/redis,StevenTsai/redis,duanx/redis,soloestoy/redis,weizijun/redis,ketor/redis,nuxeh/redis,nuxeh/redis,july2993/redis,guker/redis,fengshao0907/redis,mengzhejin/RedisStudy,xujunhai1991/redis,netroby/redis,himoca/redis,jxwr/redis,Aliceljm1/redis,zguangyu/redis,gilala/hbjredis,ErikDubbelboer/redis,qiyang0221/redis,h0x91b/redis,yuhc/redis-benchmark-enhanced,neomantra/redis,allengaller/redis,ncopa/redis,qiyang0221/redis,francischan714/redis,rogerchina/redis,drinkthere/redis-3.0-annotated,programmecat/redis,kmiku7/redis,universsky/redis,RepmujNetsik/redis,oranagra/redis,fankeke/redis-3.0-annotated,hedisdb/hedis,zczhuohuo/redis,hawkchch/redis,kmiku7/redis,CodeJuan/redis,unasm/redis-3.0-annotated,jasonkying/redis,xuguruogu/redis,atreeyang/redis,HeartSaVioR/redis,jingjidejuren/redis,flashbuckets/redis,harrisonfeng/redis,fengshao0907/redis-3.0-annotated,fengshao0907/redis-3.0-annotated,wujf/redis,huyuezheng/redis,sunheehnus/redis,atreeyang/redis,yossigo/redis,hornen/redis,HouKangkang/redis-3.0-annotated,soveran/redis,honestme/redis,ofirluzon/redis,netroby/redis,gechong/redis-3.0-annotated,Aliceljm1/redis-3.0-annotated,roth1002/redis,Hailei/redis,gilala/bjredis,timothyohare/3rdPartySrc-redis,4396/redis,itugs/redis,tanghaodong25/redis,Soledad89/redis,sunheehnus/redis,wenxueliu/redis_comment,kaushik94/redis,riyan8250/redis,simplestbest/redis,jingjidejuren/redis,citusdata/redis,CodeJuan/redis,wenxueliu/redis_comment,supasate/redis,shshlzh/redis-3.0-annotated,hawkchch/redis,kensou97/redis,ctripcorp/redis,oranagra/redis,flashbuckets/redis,ErikDubbelboer/redis,pkdevbox/redis,HunanTV/redis,abhiklodh/redis,Sciumo/redis,itugs/redis,SyntaxStacks/redis,SyntaxStacks/redis,devaos/redis,haima-zju/redis-3.0-annotated,antirez/redis,itugs/redis,allengaller/redis,blackmady/redis,drinkthere/redis-3.0-annotated,zhiliaoniu/redis,supasate/redis,hgl888/redis,iandyh/redis,zczhuohuo/redis,spinlock/redis,soloestoy/redis,seppo0010/rlite-server,zhaobo1023/redis-3.0-annotated,zczhuohuo/redis,RepmujNetsik/redis,dongqifan2/redis-3.0-annotated,nnog/redis,badboy/redis,rogerchina/redis,GitHubMota/redis,jbochi/parallel_redis,zhiliaoniu/redis,mattsta/redis,hgl888/redis,adamweixuan/redis-3.0-annotated,saisai/redis,zhcy/redis,kensou97/redis,Wangyao14cyy/redis,miaoyc1989/redis-3.0-annotated,takeshineshiro/redis,maodeyi/redis_lua,zhoudayang/redis,mcanthony/redis,ramonsnir/redis,jasonkying/redis,MOON-CLJ/redis,yossigo/redis,gilala/bjredis,YuraLukashik/redis,soveran/redis,splitice/redis,taoguan/redis,aim-for-better/redis,gilala/redis,healerkx/redis,hawkchch/redis,flashbuckets/redis,zhiliaoniu/redis,thomasdarimont/redis,charsyam/redis,gaoxianglong/redis,moonbingbing/redis-3.0-annotated,seppo0010/rlite-server,programmecat/redis,rogerlz/redis,mattsta/redis,blackmady/redis,wenxueliu/redis_comment,mverrilli/redis,csuhawk/redis,0x55/redis-3.0-annotated,sunlianqiang/redis-3.0-annotated,MSOpenTech/redis,jingjidejuren/redis,Aliceljm1/redis-3.0-annotated,ouyangkongtong/redis,YuanZhewei/redis,190235047/redis,RepmujNetsik/redis,huangz1990/redis-3.0-annotated,huangz1990/redis-3.0-annotated,GrimDerp/redis,pedigree/redis,gaoxianglong/redis,yuzhangjob/redis-3.0-annotated-unstable,izhoujie/redis,j0hnma/szredis,xuguruogu/redis,jingjidejuren/redis,huyuezheng/redis,ton31337/redis,ipmobiletech/redis,dreamquster/redis,SummonY/redis,Aliceljm1/redis,adamweixuan/redis-3.0-annotated,mgk/redis,colstrom/redis,rrsean/redis-3.0-annotated,idning/redis,splitice/redis,jbochi/redis,universsky/redis,adamweixuan/redis-3.0-annotated,thomasdarimont/redis,cnbin/redis,yuhc/redis-benchmark-enhanced,cusspvz/redis,shreesundara/redis,himoca/redis,gaoxianglong/redis,shining-yang/redis,simplestbest/redis,xlzhan/redis,zguangyu/redis,harrisonfeng/redis,PradheepShrinivasan/redis,slfs007/mk-redis,july2993/redis,xuguruogu/redis,YongMan/redis,h0x91b/redis,jackyan/redis,elkingtonmcb/redis,mcanthony/redis,MasahikoSawada/redis,yybirdcf/learn-redis,ipmobiletech/redis,universsky/redis,mingyaaaa/redis,maodeyi/redis_lua,gilala/bjredis,twskipper/redis,ytjiang/redis,GrimDerp/redis,Wangyao14cyy/redis,linfangrong/redis,seppo0010/rlite-server,LongXQ/redis,charsyam/redis,gilala/hbjredis,ksarch-saas/redis,Soledad89/redis,francischan714/redis,csuhawk/redis,msn217/redis-3.0-annotated,abhiklodh/redis,oranagra/redis,ncopa/redis,tellapart/redis,tjschuck/redis,itamarhaber/redis,cnbin/redis,cloudrain21/redis,fengshao0907/redis,colstrom/redis,seppo0010/redis,fengshao0907/redis-3.0-annotated,pcarrier/redis,wujf/redis,zguangyu/redis,PradheepShrinivasan/redis,MSOpenTech/redis,jxwr/redis,whille/redis-3.0-annotated,healerkx/redis,brg-liuwei/redis,YuanZhewei/redis,0x55/redis-3.0-annotated,zhoudayang/redis,wprice/redis,qiyang0221/redis,honestme/redis,kaushik94/redis,mumingv/redis,pkdevbox/redis,ReadCode/redis-3.0-annotated,gaoxianglong/redis,buobao/redis-3.0-annotated,devaos/redis,abhiklodh/redis,seandsky/redis,dayuoba/redis,YongMan/redis,OmarQunsul/graph-redis,takeshineshiro/redis,netroby/redis,a-pavlov/redis,WorkingOfTimtohyZhang/redis-3.0-annotated,ErikDubbelboer/redis,soloestoy/redis,mcanthony/redis,supasate/redis,yybirdcf/learn-redis,weizijun/redis,jacklee0810/redis-3.0-annotated,vincent-vivian-liu/redis,buobao/redis-3.0-annotated,riyan8250/redis,ytjiang/redis,seppo0010/redis,narma/redis,elkingtonmcb/redis,csuhawk/redis,tzq668766/redis-3.0-annotated,yuhc/redis-benchmark-enhanced,wangyikai/redis,GrimDerp/redis,xuzhezhaozhao/redis_reading,alenslan/redis,Aaron1992/redis,mumingv/redis,ttuna/msot-redis,gechong/redis-3.0-annotated,tjschuck/redis,charsyam/redis,qiyang0221/redis,mverrilli/redis,darksideofthemoo/redis-histogram,vincent-vivian-liu/redis,iandyh/redis,darksideofthemoo/redis-histogram,yuhc/redis-benchmark-enhanced,kmiku7/redis,darksideofthemoo/redis-histogram,yuzhangjob/redis-3.0-annotated-unstable,kensou97/redis,guker/redis,seandsky/redis,onlymellb/redis-3.0-annotated,rogerlz/redis,AALEKH/redis,ramonsnir/redis,modulexcite/redis,wbailey5/redis,xuzhezhaozhao/redis_reading,wuyu201321060203/redis-3.0-annotated,haima-zju/redis-3.0-annotated,MSOpenTech/redis,pcarrier/redis,ttuna/msot-redis,dreamquster/redis,zhcy/redis,cusspvz/redis,soloestoy/redis,jbochi/redis,mengzhejin/RedisStudy,duanx/redis,mengzhejin/RedisStudy,MSOpenTech/redis,tzq668766/redis-3.0-annotated,atreeyang/redis,seandsky/redis,healerkx/redis,Aaron1992/redis,takeshineshiro/redis,arijitvt/redis,twskipper/redis,yossigo/redis,janekmi/redis,spearhead-ea/redis,Hailei/redis,StevenTsai/redis,GitHubMota/redis,nnog/redis,josiahcarlson/redis,zy416548283/redis-3.0-annotated,4396/redis,ncopa/redis,slfs007/mk-redis,allengaller/redis,YuraLukashik/redis,aim-for-better/redis,modulexcite/redis,dayuoba/redis,shreesundara/redis,tzq668766/redis-3.0-annotated,miaoyc1989/redis-3.0-annotated,roth1002/redis,mengyou0304/redis,antirez/redis,mverrilli/redis,HunanTV/redis,pmem/redis,cnbin/redis,ituncle/redis,soloestoy/redis,wbailey5/redis,brg-liuwei/redis,mcanthony/redis,elkingtonmcb/redis,modulexcite/redis,arijitvt/redis,takeshineshiro/redis,ramonsnir/redis,shreesundara/redis,aim-for-better/redis,itugs/redis,badboy/redis,ytjiang/redis,miaoyc1989/redis-3.0-annotated,AALEKH/redis,louisliangjun/redis,whille/redis-3.0-annotated,brg-liuwei/redis,xujunhai1991/redis,Wangyao14cyy/redis,pcarrier/redis,seppo0010/redis,zhoudayang/redis,GitHubMota/redis,alenslan/redis,gilala/redis,PKRoma/redis,ouyangkongtong/redis,clamoriniere1A/redis,Aliceljm1/redis-3.0-annotated,taoguan/redis,neomantra/redis,zy416548283/redis-3.0-annotated,pedigree/redis,WorkingOfTimtohyZhang/redis-3.0-annotated,wujf/redis,nilyang/redis-tdd-annotation,NBSW/redis,jbochi/redis,magastzheng/redis-3.0-annotated,pmem/redis,kaushik94/redis,ncopa/redis,clamoriniere1A/redis,devaos/redis,rouzier/redis,davidradunz/redis,antirez/redis,ReadCode/redis-3.0-annotated,louisliangjun/redis,Sciumo/redis,mgk/redis,moonbingbing/redis-3.0-annotated,nuxeh/redis,Sciumo/redis,MOON-CLJ/redis,SummonY/redis,j0hnma/szredis,cloudrain21/redis,fankeke/redis-3.0-annotated,supasate/redis,z-fork/redis,rouzier/redis,dongqifan2/redis-3.0-annotated,maodeyi/redis_lua,magastzheng/redis-3.0-annotated,0x55/redis-3.0-annotated,saisai/redis,onlymellb/redis-3.0-annotated,ttuna/msot-redis,simplestbest/redis,spinlock/redis,Soledad89/redis,yossigo/redis,StevenTsai/redis,ksarch-saas/redis,linfangrong/redis,NBSW/redis,nnog/redis,MSOpenTech/redis,thomasdarimont/redis,hedisdb/hedis,190235047/redis,izhoujie/redis,izhoujie/redis,vincent-vivian-liu/redis,arijitvt/redis,netroby/redis,HouKangkang/redis-3.0-annotated,kensou97/redis,ituncle/redis,taoguan/redis,gilala/redis,spearhead-ea/redis,ReadCode/redis-3.0-annotated,rogerlz/redis,janekmi/redis,nuxeh/redis,LongXQ/redis,h0x91b/redis,nilyang/redis-tdd-annotation,Aliceljm1/redis,francischan714/redis,OmarQunsul/graph-redis,july2993/redis,PKRoma/redis,honestme/redis,csuhawk/redis,sunlianqiang/redis-3.0-annotated,jxwr/redis,honestme/redis,hgl888/redis,YongMan/redis,hornen/redis,Markgorden/redis,allengaller/redis,gilala/hredis,OmarQunsul/graph-redis,msn217/redis-3.0-annotated,PKRoma/redis,citusdata/redis,flashbuckets/redis,jackyan/redis,0x55/redis-3.0-annotated,onlymellb/redis-3.0-annotated,colstrom/redis,Aliceljm1/redis,SyntaxStacks/redis,wuyu201321060203/redis-3.0-annotated,darksideofthemoo/redis-histogram,ituncle/redis,davidradunz/redis,ofirluzon/redis,abhiklodh/redis,ErikDubbelboer/redis,gongice/redis-3.0-annotated,a-pavlov/redis,huyuezheng/redis,a-pavlov/redis,badboy/redis,CodeJuan/redis,shshlzh/redis-3.0-annotated,PKRoma/redis,YuraLukashik/redis,xuzhezhaozhao/redis_reading,davidradunz/redis,MasahikoSawada/redis,JoeWoo/redis,clamoriniere1A/redis,tanghaodong25/redis,zhiliaoniu/redis,shining-yang/redis,harrisonfeng/redis,josiahcarlson/redis,HunanTV/redis,Soledad89/redis,mengyou0304/redis,WorkingOfTimtohyZhang/redis-3.0-annotated,jbochi/parallel_redis,seppo0010/rlite-server,AplayER/redis,YuanZhewei/redis,JoeWoo/redis,guker/redis,weizijun/redis,LongXQ/redis,zguangyu/redis,neomantra/redis,duanx/redis,ksarch-saas/redis,mumingv/redis,fankeke/redis-3.0-annotated,rouzier/redis,ctripcorp/redis,janekmi/redis,jacklee0810/redis-3.0-annotated,j0hnma/hszredis,splitice/redis,ofirluzon/redis,NBSW/redis,alenslan/redis,mingyaaaa/redis,j0hnma/hszredis,oranagra/redis,miaoyc1989/redis-3.0-annotated,spearhead-ea/redis,janekmi/redis,hedisdb/hedis,AALEKH/redis,narma/redis,mingyaaaa/redis,dongqifan2/redis-3.0-annotated,MasahikoSawada/redis,wbailey5/redis,buobao/redis-3.0-annotated,JoeWoo/redis,thomasdarimont/redis,alenslan/redis,ofirluzon/redis,twskipper/redis,pkdevbox/redis,haima-zju/redis-3.0-annotated,itamarhaber/redis,kaushik94/redis,ipmobiletech/redis,charsyam/redis,pmem/redis,YuraLukashik/redis,louisliangjun/redis,mverrilli/redis,nilyang/redis-tdd-annotation,zhcy/redis,slfs007/mk-redis,cusspvz/redis,badboy/redis,saisai/redis,mengyou0304/redis,tjschuck/redis,gongice/redis-3.0-annotated,shreesundara/redis,JoeWoo/redis,PradheepShrinivasan/redis,july2993/redis,taoguan/redis,zhaobo1023/redis-3.0-annotated,hgl888/redis,gilala/redis,Markgorden/redis,Markgorden/redis,blackmady/redis,Aaron1992/redis,gilala/hredis,francischan714/redis,gilala/hbjredis,xlzhan/redis,mgk/redis,AALEKH/redis,z-fork/redis,modulexcite/redis,NBSW/redis,wprice/redis,ttuna/msot-redis,shining-yang/redis,universsky/redis,valdsJohn/redis,blackmady/redis,itamarhaber/redis,rrsean/redis-3.0-annotated,Markgorden/redis,dayuoba/redis,msn217/redis-3.0-annotated,himoca/redis,tellapart/redis,gilala/hredis,wenxueliu/redis_comment,cloudrain21/redis,hornen/redis,huyuezheng/redis,wangyikai/redis,jacklee0810/redis-3.0-annotated,shshlzh/redis-3.0-annotated,HouKangkang/redis-3.0-annotated,pedigree/redis,gechong/redis-3.0-annotated,valdsJohn/redis,wujf/redis