Allow stale connection checking to be configurd