Fix silent connection termination

fix #107