add action and pid to heartbeat message
send stopped heartbeat