Fix log not done inside runnable for @Background and @UIThread