Fix silly close error, wrong connection