Fix using the wrong argument in the close command
Disallow trying to join closed channels