Understanding JDBC timeout configuration