Yes, but he and Kabuto did everything to suppress the pain until Sasuke arrived, so Orochimaru could take his body.