Move the logic behind verbose check
Set done even if failed
Let curl decide socket select timeout
Get rid of usleeps