main_loop = tornado.ioloop.IOLoop.instance()
sched = tornado.ioloop.PeriodicCallback(schedule_func, interval_ms, io_loop
    =main_loop)
sched.start()
python Tornado websockets how to send message every X seconds?