stop the pool at the end