Unable to connect to daemon in "1.3-20120917220018+0000"

I’m unable to connect to the Gradle daemon after restarting my computer while the daemon is running. I have not encountered this problem in the nightly build: 2012-09-03, so this might have been introduced recently.

Here is the stack trace of the thrown error: https://gist.github.com/3765908

If you create a JIRA ticket from this topic, I can also attach the registry.bin to the issue (the daemon is not started by Gradle, so there is no log in the daemon directory for this issue).