cec: set the ackmask to 0 when closing the connection