remove query task method

Change-Id: I4aadba619db8f4cd4d4054bf747a8e63811198c9