fix compatibility with old version of GitLab CI which doesn't support timeout parameter and trim commands' CR and LF characters

- set timeout=1800(GitLab CI default value) when JSON doesn't have timeout parameter, because old version of GitLab CI doesn't have timeout parameter in JSON response, so it will return null to info.timeout by fill 0, that occurred any command terminate immediately.