NBC is done punching the clock on The Night Shift, its four-season old medical drama that almost exclusively aired during the summer.

The network on Friday announced its final decision on the series with a statement from NBC Entertainment president Jennifer Salke. “We want to thank our amazing creators and executive producers, Gabe Sachs and Jeff Judah, for their dedication and stellar work; a cast and crew that were second to none; and the city of Albuquerque, N.M., which graciously opened its arms to us,” said the exec. “For four seasons The Night Shift gave audiences a window to heroic doctors, nurses and all-star medical workers who never hesitated to give their blood, sweat and time to help those most in need.”

What's particularly interesting about the demise of The Night Shift, a Sony Pictures TV Studios production, is that it comes after a leadership change at the TV house. Former co-presidents Jamie Erlicht and Zack Van Amburg, who announced their move to Apple in June, had earned a reputation at Sony for their ability to keep series with mediocre ratings on the air, often to slimmer financial gains (see fellow NBC drama Timeless, which was canceled and brought back from the dead after a big Sony push). But The Night Shift was getting old, and it's unlikely another year would have been fiscally prudent for network or studio.

It wasn't always a bubble show. The Night Shift's first season, which premiered in summer 2014, was such a surprise success that it aired in-season the following winter. That didn't last. The final two seasons again aired in summer, the last of which averaged only 0.9 rating among adults 18-49 and 5.2 million viewers after live-plus-three-day lifts.

NBC's summer scripted offerings are indeed dwindling. The Night Shift joins the comedy The Carmichael Show in its 2017 exit. Among the network's new offerings this past summer, only Marlon has been renewed. The drama Midnight, Texas remains in consideration, though options on the cast have expired.