Continuous Yaw while going towards LAND waypoint

I am using PX4 v1.5.4 with QGC in mission mode. I am giving various waypoints in heading towards waypoint setting. In the final waypoint i.e. the land waypoint my vehicle does anticlockwise yaw continuously before reaching the land location.

Can anyone please explain as to why this is happening and how this can be changed?

Can you share a log?