Don't connect the newConnection() SIGNAL for the tcp server when listen fails.