restart on 1000 conections. prevent DOS