Added pool shutdown