Shutdown the executor after future finishes