fix for OS whos not support netcat