How to split the chunk of HLS segments for keyframes inserted via server-side API?

I tried to insert keyframes via server-side API.

https://www.wowza.com/docs/how-to-insert-key-frames-into-a-transcoded-stream-using-server-side-api

Inserting the keyframe was succeeded, however the HLS segments was not split by keyframes.

How can I split the chunk programmatically? or any solutions?