Fixed connection error: can now leave client side