Merge pull request #2998 from danielhtshih/unstable

Fix a possible race condition of sdown event detection if sentinel's connection to master/slave/sentinel became disconnected just after the last PONG and before the next PING.