Make ensure_topic_creation take an optional timeout

Seems better to use an optional timeout with a default value
rather than hard-coding 30 retries, especially since each request can
block for a long time then fail.