cancel connection

Signed-off-by: drizztz <kiddzhang@yeah.net>