Shutdown the executor service gracefully so attempted access to a closed entity manager cannot occur