Fix for checking state of long running method returning UJS job id.