Rescue ETIMEDOUT exceptions in network thread