add sleep to sql_queries