replace encore HeartBeat with pyface Timer