send heartbeat signal every second