s3:winbindd: move non event related code out of process_loop() in the the caller