adding sleep to api_v3/index.php