Bugfix: Properly guard all accesses to the fOutputHeartbeat vector to fix a race condition
Fix for occassional garbled parsing of the heartbeat string