use timeout variable in runner event handlers instead of hard-coded value