PHILADELPHIA — Just as the Philadelphia 76ers were letting yet another big lead slip away, a leak in their locker room sent water spilling into the hallway.

Sixers employees stopped the stream before it reached the court, and the players prevented a fourth-quarter gusher from washing away another sure win.

Joel Embiid had 34 points and 11 rebounds and Philadelphia held off the cold-shooting Toronto Raptors 117-111 on Monday.

"Look at some of the things we ended up doing at the end of the game. All we really had to do was dribble it out and instead we're playing volleyball," Sixers coach Brett Brown said before lamenting his team's seven fourth-quarter turnovers. "That's the stuff that keeps me up really, really late at night."

T.J. McConnell added a career-high 18 points and eight assists and JJ Redick scored 15 before leaving with a left leg injury for the Sixers, who never trailed and shook off Ben Simmons' foul trouble to win for the fifth time in six games.

The Sixers blew a 22-point lead in a loss to Boston in London in their last game and coughed up a 22-point lead in a loss in Toronto's previous visit last month.

"We've been in this type of position a lot this year," Embiid said.

Embiid and his teammates were forced to take a different tunnel to the dressing room after the game, and the room was off-limits to reporters. But the Sixers did just enough to make the players less grumpy about the hassle.

They saw a 21-point lead cut to 102-101 on DeMar DeRozan's 3-pointer with 3:01 left. Simmons responded with a driving layup and Dario Saric hit a 3 on the next possession to get the lead back to six.

Embiid hit four free throws in the final 25.3 seconds to put it away as he motioned for the crowd to get to its feet.

"The big fella was great," McConnell said.

DeRozan scored 24 points and Kyle Lowry struggled in his return from a three-game absence because of a bruised tailbone. The Raptors lost backup guard Fred VanVleet to a right knee injury early in the fourth quarter in their second straight loss.

"A tough game," said Lowry, who had 13 points on 3-of-16 shooting.

The Raptors missed their first 10 3-point attempts, and shot 40 per cent from the field, two days after a narrow loss to Golden State followed a blowout win over Cleveland.

"We have to get our motors going no matter who we play. It can't just be Cleveland or Golden State," Raptors coach Dwane Casey said.

Lowry and Simmons, who had 12 points and six turnovers, were ejected with 6.5 seconds left after a dustup near midcourt. No punches were thrown in the game that included six technical fouls.

"I don't play around," Simmons said. "I'm not going to take (crap) from anybody."

The Sixers led 59-43 before the Raptors closed a dismal first half on a 6-0 run. Unable to stop Embiid (18 points) and unable to shoot from the outside (0 of 7 from 3-point range), the Raptors couldn't take advantage of Simmons missing the final seven minutes with three fouls.

Simmons picked up his fourth foul 24 seconds into the third quarter but stayed in, and the Sixers built a 21-point lead with the help of technical fouls against VanVleet and Casey.

"Consistency in our league unbelievable," Casey said of the officiating. "We've got to get that under control because one night it's one thing and another night it's another thing."

VanVleet crashed to the floor under the basket early in the fourth quarter and didn't return.

TIP-INS

Raptors: Lowry told the team he was ready to play after pregame warmups. ... DeRozan and McConnell each received technical fouls in the second quarter. McConnell jumped up after DeRozan's hard foul and the two had to be separated.

76ers: Embiid had seven of the Sixers' 21 turnovers. It was his seventh 30-point game of the season. ... There was no update on Redick, who came up lame after he caught a pass and limped to the locker room. ... Reserve C Richaun Holmes (illness) didn't dress. ... The Sixers after the game signed G Demetrius Jackson to a two-way contract and waived F James Michael McAdoo.

DR. J & MLK

A taped tribute to Dr. Martin Luther King Jr. from former Sixers great Julius Erving was shown during the first timeout.

UP NEXT

Raptors: Host Detroit on Wednesday night.

76ers: Visit Boston on Thursday night.

___

More AP NBA: https://apnews.com/tag/NBAbasketball