Make metastore timeout configurable