Identify two data source attributes that, if set properly can help avoid situations in which the application fails due to a failed JDBC connection.