add except block for failed subprocess.check_call