Fixed closed connections not being noticed.