GUI: modified keep-alive behavior

- Check connection periodically only until first failed attempt.
  Then connection can be checked manually by user (button in widget)
  and if it connects, then new keep-alive auto checker is appended
  to GUI.