gracefully shutdown shared invocation pool