send heartbeat only every 2 minutes unless file has changed or is write event