Scanner now runs on a separate thread.