make timeout configurable. see #6
unreffing timeout