closed writer object

Signed-off-by: Kalyan <kalyan.menda@whiteskylabs.com>