set the curl timeout to 5 seconds 

this is more reasonable than 30 seconds