Write anti-flood changed to 5ms, read processing moved to the main thread