fprintfs in portable thread create btcdpoll