simplified handling stale connections