Fixed heartbeat timeout and interval issues.

Now you can set it! For realz.