add curl timeout.