Terminate pool