It was to handle the situation where the read handler removed the write handler, or vice versa.