Before this commit, trying recover a connection that didn't exist anymore would cause a traceback. This commit fixes this issue. closes odoo/odoo#103088 X-original-commit: 44973577e4bfc7b36b5d3aa356519a36fb6ecc78 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>