I am generating list of commands dynamically from java code and using jsch exec i am running each command in a loop. Since in exec there is a thread sleep of one second and my list is more than 500, it takes more than 500 sec . Is there a way that i can run them in less time duration.