disconnect try/catch