db: use DialWithTimeout