allow time for services to stop