Execute available_coin_joins find in a new thread if block is given; if no block given return result or raise error.