commented getNextRequest