Probably shouldn't use the realtime flag in non-realtime code.