Handle all heartbeat durations as being in milliseconds

We didn't properly convert the heartbeat into milliseconds so we caused the expiration of workers to take roughly 1000 times longer than expected.