[netwerk] properly use foreign keys
[netwerk] retry opening db file once
[netwerk] Telemetry for time from Predict to action/inaction