stop execution after printing json api request