Added maxSubmits to PollCommand