A simple swoole timer helper