adding check whether port is alreay open  before starting the carbon serve