Add timeout for Curl