Extract runnable in inner private class