Disconnect when user click on button