changed handleEvents timeout