pass full options to in_threads