fix abort bug
fix close bug: receiving many close message with successful close,
following closeack return -1