LPS-34942 Flush JSON response immediately