Handle API timeouts