I had a query return large results with SQL syntax, and I use the 'cursor' to fetch results. But I found there is no way to set 'timeout' value therefore my cursor would be expired after some default value.
So how can I set the time of cursor expiration?