move `conn_is_up` as Database's instance method