When to Stop? Towards Efficient Code Generation in LLMs with Excess Token Prevention | Synapse