Disabling some services that rely on a db connection