fix disconnection free ordering