Stopping the system after CSV file is done sending