Catch InvalidObject thrown on timeouts