Breaking into the Halloween candy early for a sweet snack can keep you up at night. Here's how to keep it from disturbing your sleep.