fixed curl patch retry and give more info about patch