Print unclosed connection on exit