Impact of exposure time on optical-phase measurements in turbulence