[JBJCA-1212] [JBJCA-1190] Pool: Support partial graceful shutdown