release queue at exit