Distributed: Fix TCP keep-alive check

Technical Description:
- While running some stress tests on the distributed systems, I
uncovered that clients were being ejected with an 'invalid keep-alive
packet received' error.
- This commit fixes an invalid check that caused false alarms. We now
check if the received keep alive packet count is greater than the sent
keep alive count versus the other way around.