Fixed trigger connect server mutiple times