TODO- s3:winbindd: use tevent_loop_wait() in the main loop