Wont use lock if the alwaysCreateNewNodes is true.
Added checkbox to set whether the user wants to set the MATRIX_ID environment variable.
Default is false
Fixing the deadlock due the Jenkins Chron Thread
Creating a periodic task to add the nodes to workaround the deadlock
Changed the task to add nodes to become more generic, so it can be used for any node change operation
Fixing another deadlock