Sadly on disconnect seems to act after the disconnection too:(
(which isnt surprising since it's triggered by the disconnection itself)