Added socket disconnection if commands are rejected due to AOF/RDB load.
Added socket disconnection if commands are rejected due to AOF/RDB load.

SELECT commands are issued only on initial socket connection. If a user issues a command during an AOF/RDB load, the socket connection will be successfully opened, but the SELECT command will be lost. If subsequent commands are sent after the AOF/RDB load is completed, the SELECT command will not be retried (due to the open socket), and those commands will go to the wrong DB. This behavior appears to be present in hiredis as well as redis-py. Fixing it here by special casing the AOF/RDB load message and closing the socket connection before raising ResponseError.

boyxuper/redis-py,Kazanz/redis-py,harlowja/redis-py,wfxiang08/redis-py,softliumin/redis-py,dylanjw/redis-py,andymccurdy/redis-py,maxikov/redis-py,piperck/redis-py,rcrdclub/redis-py,MrKiven/redis-py,VishvajitP/redis-py,Instagram/redis-py,ffrree/redis-py,joshowen/redis-py,MegaByte875/redis-py,yuruidong/redis-py,ContextLogic/redis-py,sirk390/redis-py,harlowja/redis-py,sunminghong/redis-py,ferrero-zhang/redis-py,lamby/redis-py,joshowen/redis-py,ferrero-zhang/redis-py,zhangyancoder/redis-py,MrKiven/redis-py,fengsp/redis-py,nfvs/redis-py,jparise/redis-py,dylanjw/redis-py,maxikov/redis-py,hyatzh/redis-py,thedrow/redis-py,kouhou/redis-py,yihuang/redis-py,joshowen/redis-py,harlowja/redis-py,ferrero-zhang/redis-py,LTD-Beget/redis-py,dmugtasimov/redis-py,barseghyanartur/redis-py,sigma-random/redis-py,MegaByte875/redis-py,redis/redis-py,siryuan525614/python_operation,garnertb/redis-py,dylanjw/redis-py,thedrow/redis-py,ze-phyr-us/redis-py,boyxuper/redis-py,MegaByte875/redis-py,ycaihua/redis-py,siryuan525614/python_operation,alisaifee/redis-py,andymccurdy/redis-py,sunminghong/redis-py,ycaihua/redis-py,mozillazg/redis-py-doc,mozillazg/redis-py-doc,JamieCressey/redispy,forblackking/redis-py,wfxiang08/redis-py,dmoliveira/redis-py,softliumin/redis-py,forblackking/redis-py,barseghyanartur/redis-py,yihuang/redis-py,softliumin/redis-py,fengsp/redis-py,piperck/redis-py,siryuan525614/python_operation,cvrebert/redis-py,ze-phyr-us/redis-py,rcrdclub/redis-py,zhangyancoder/redis-py,garnertb/redis-py,MrKiven/redis-py,dmugtasimov/redis-py,boyxuper/redis-py,LTD-Beget/redis-py,pombredanne/redis-py,5977862/redis-py,yuruidong/redis-py,barseghyanartur/redis-py,zhangyancoder/redis-py,5977862/redis-py,alisaifee/redis-py,JamieCressey/redispy,Kazanz/redis-py,nfvs/redis-py,lamby/redis-py,5977862/redis-py,wfxiang08/redis-py,cvrebert/redis-py,yihuang/redis-py,jparise/redis-py,forblackking/redis-py,sigma-random/redis-py,redis/redis-py,garnertb/redis-py,dmoliveira/redis-py,thedrow/redis-py,LTD-Beget/redis-py,rcrdclub/redis-py,ContextLogic/redis-py,sirk390/redis-py,VishvajitP/redis-py,raphaelfruneaux/redis-py,cvrebert/redis-py,RedisLabs/redis-py,pombredanne/redis-py,kaushik94/redis-py,dmoliveira/redis-py,pombredanne/redis-py,kaushik94/redis-py,sigma-random/redis-py,RedisLabs/redis-py,Kazanz/redis-py,dmugtasimov/redis-py,sunminghong/redis-py,kouhou/redis-py,lamby/redis-py,yuruidong/redis-py,WoLpH/redis-py,kaushik94/redis-py,JamieCressey/redispy,kouhou/redis-py,jparise/redis-py,andymccurdy/redis-py,ycaihua/redis-py,fengshao0907/redis-py,ze-phyr-us/redis-py,fengshao0907/redis-py,maxikov/redis-py,ffrree/redis-py,sirk390/redis-py,ffrree/redis-py,ContextLogic/redis-py,fengshao0907/redis-py,piperck/redis-py,fengsp/redis-py,VishvajitP/redis-py,nfvs/redis-py