bugfix: close remote conn asap