Added db_timeout and db_autocommit options to database driver