Replace update_lock with shutdon_event
Shut down network_load segment in tests
Allow multiple shutdowns with multiple starts
Make zsh/zpython also call .shutdown correctly
Fix update_first
Some fixes for flake8
Merge remote-tracking branch 'zyx-i/no-update_lock' into develop