what happens if server does not start ? i.e. port is already in use ? 

Then this would loop forever..