When disconnecting, set the current command to null