fix a bug for close io_service

Signed-off-by: yayanyang <yayanyang@gmail.com>