Fixed detection of timed out peers.