Change pnAsyncTimer to class-style coding
pnAsyncTimer optimisation