Added sleep parameter with 20 second default to nodemanager