Calculate time correctly

The second unit was being incorrectly converted to microseconds, added
minutes to calculation to keep the server from stalling when the clock ticked
from 59 seconds to 0 seconds.