close() already unregisters the comm