Don't use timer when running in own thread