Symptom
Writing process stops.

Cause
a) The dashboard of the car is NOT properly switched ON and after a while it turn off cutting power on the OBD port.
b) The voltage in the OBD port is turned off by the ecu power management, due to economy strategy. 


Solution 
a) Switch ON properly the dashboard.
b) Keep vehicle's doors close and try again writing.