Shutting down the process