rename MAX_REQUESTS to MAX_EMPTY_REQUESTS in jira agent