Do not spawn thread in run_shell_command with timeout=None