MDS admin socket session operations

There aren't very many callers of this function, and one of them might want to block before returning as well anyway. Let's make this an explicit argument.