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