Fixed bug run multiple job when the script takes shorter time, fixed #5