Handle all exceptions, not just timeouts