Added self arg to set_timeout