PHOENIX-904 Connection leak during running of upgrade (JamesTaylor)