implemented netstat to show connection status