Fix healthcheck script to wait for netstat command output (#7275)
Fix healthcheck script to wait for netstat command output (#7275)

Fixes #7272
aead/minio,jimjag/minio,donatello/minio,fwessels/minio,NitishT/minio,krishnasrinivas/minio,aead/minio,aead/minio,aead/minio,NitishT/minio,aead/minio,minio/minio,harshavardhana/minio,harshavardhana/minio,minio/minio,jimjag/minio,harshavardhana/minio,harshavardhana/minio,jimjag/minio,balamurugana/minio,krisis/minio,donatello/minio,aead/minio,vadmeste/minio,harshavardhana/minio,vadmeste/minio,fwessels/minio,fwessels/minio,jimjag/minio,krisis/minio,balamurugana/minio,aead/minio,fwessels/minio,harshavardhana/minio,krishnasrinivas/minio,aead/minio,krishnasrinivas/minio,NitishT/minio,krishnasrinivas/minio,NitishT/minio,harshavardhana/minio,harshavardhana/minio