If we are closed, prevent write operations