Don't attempt to `close!` nils. (There might be nils from sockets that're opened and only given a single read/write channel instead of both.)