Don't close the pool until the end.