shutting down the executor service when stopping the server