docs: add pool.end() documentation

closes #911
closes #912