When setting the write listener and configuring a dispatch for the first write, also set registeredForWrite to avoid multiple write registrations.