do not hold on to a stale connection object. fixes #15998