Ignore the 'close' event when we trigger the disconnect