I experienced that a few times before finding one good cure: telling people about my project!
Every time they see me, they will ask me about it and when it is being released. When that happens to you and you have nothing substantial to answer, you realize you've been fooling around too much. Try it
OTOH, it is known that not announcing gives you the motivation to work on your exciting surprise, and announcing (while not committing) gives you the thrill of gossiping/boasting and can deflate your excitement once your idea is mentally published and only the borof part of execution remains. You need to keep a list of exciting milestones ahead -- announcing to another important audience, winning a contract, whatever