cancel logging to a file
added timeout to curl