server: allow closing conn from server action