Program now quit with exit value of -1 when the tcp bind fail.