Fixed the bug when clicking the exit button
Little change to test the ssh connection