Recycling stale db connections