Improved JenkinsStreaming by adding time limits