Fix bug 21939

** DO NOT MERGE **

This is an experiment to try to fix linger mode not working in networked mp. Please read commit messages for detail.