Updated API refresh delay to use milliseconds

Seconds wasn't enough