fix msgr issues causing osd leaks on shutdown

This is the last thing preventing us from enabling osd valgrind leak checking in the nightly!