Truck driver brakes right before crashing into car