SQL Job remains active when connection to DB encounters an issue