Added implementation of heartbeat threads to paramserver.