how long does it take to regulate blood sugar