Avoid shell=True, properly terminate