The tab gets suspended when it's inactive thus resulting in the timer not running down properly. Possible reason/solution: https://stackoverflow.com/questions/6032429/chrome-timeouts-interval-suspended-in-background-tabs