Fixed issue where deployment is not removed from queue on rare failure