feature(client): Auto-flush metrics information after 10 minutes of inactivity.