simplify shutdown - removed a.closed