The windown now close after click on connect