added subquery status check to logdb client sdk