Refactor new connection init data state management

Oskar Vihriälä requested to merge backend-state-fixing into main

Merge request reports