propgate 'CLOSED' event to client, so it can know extactly when the connection is closed and register callback