Added timeouts so that the default actions happen no matter what.