Do not write file if there was an error in get request
Remove temporal file once it is downloaded
Do not stop daemon on unexpected errors