TestServiceWithPredefinedNetwork test case was failing at times. To fix the issue, added new API to check for services after we clean up all services. Tested multiple times and this sould fix flaky issue. Signed-off-by: selansen <elango.siva@docker.com> Upstream-commit: dabffd806c98ab13dbc25e57bee21c5291b9a50c Component: engine