Implementing Real-Time Status Updates with Server-Sent Events in Next.js