added netstat check before binding to a port for tlisten