Added kill webservice logic