detachable sessions by default,
close log window and show message if connection to server lost.
refer issue #9