On second thought - it does not work this way.
The notificationbuilder has a bookean property "autocancel", but I need something more:
The notification starts a download, when clicked.
Download successful: Cancel the notification.
Download unsuccessful: Do not cancel the notification.