This shouldn't be possible, but seems to happen anyway after net.server somehow calling the close handler twice, which also should not happen.