[Bug] Fixed fatal error on PHP5.3 using timer

PHP5.3 does not support calling $this within a closure