Added cleanup of expired requests.