chat am i stupid?

Hello, just finished the book for the first time and a detail is bugging me. Why did O'Brien wait so long to turn in Winston and Julia? If he had been a cop all along why bother with the book, the servant, the telescreen, when they could have gotten over the whole thing then and there? I feel like im missing something big and feel dumb for it lmao.