If the device entered the sleep state while Sketches was displaying an auxiliary window (such as the user preferences, for example), the application became unresponsive upon resuming, and had to be quit.
Sketches 0.7 includes a fix for this bug.