Method to shutdown the threads and request handling, fixed copyright