This is achieved if the `close` operation above returns greater than 0.