return empty list when no pending tasks