Open, lock comedi devs, close at destruct