Add timeout for CURL