Background thread to report agent's position