SoftRealtimeLoop frequency error

In a simple example code, increasing the SoftRealtimeLoop clock frequencies around 200-300 Hz seems fine. But at 400 Hz, I get

RuntimeError: Command: _stream_without_safety failed

I was not able to pinpoint the source of this error in the source code. Is this because the loop is too fast?

Thanks!