[lib] refactor updating connection status in keyserver-reducer to ops
Summary:
Convert logic to ops approach.
Depends on D10763
Test Plan:
- Open app
- Kill keyserver
- Check if state is set
Tested on both native and web
Reviewers: inka
Reviewed By: inka
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D10768