Fixed a bug with the global timeouts.