fixed restart when somebody connected