Updated checks for stale connections
Removed stale connection check. made things worse