use sleep type with netstat check for nodemanager