Remove setTimeout from eventHandler.