Convert use of MoreExecutors.sameThreadExecutor to directExecutor