fix timeouts to check if already set and clear existing timeouts if so