PASDK-516:Slight update to write complete handling