means continuing until the very last moment before an outcome is decided. Example The race went down to the wire.