If SQL Server instance is not running, set its status to not active in db table