HOW TO PRACTISE SO IT ACTUALLY HELPS
Hit generate, start rapping before you have a plan, and do not stop when you stumble. Stopping is the habit you are trying to break — recovering mid-bar is the skill you are trying to build, and you only get it by staying in it while it is going badly.
Use every word before the clock runs out. It does not matter if the connection is absurd; forcing a link between unrelated things is exactly the muscle that makes live freestyling possible.