no detach on last close, too buggy