clean up the executor at the beginning